package com.scs.application.modules.sys.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class LoginParam {
    @NotBlank(message = "登录账号不能为空")
    private String code;
    @NotBlank(message = "登录密码不能为空")
    private String password;
    private String isCheck;
    private String deviceType;

    public LoginParam(String code,String password, String isCheck,String deviceType){
        this.code = code;
        this.password = password;
        this.isCheck = isCheck;
        this.deviceType = deviceType;
    }

}
